Module-level declarations
Types
Link copied to clipboard
struct event_data
Link copied to clipboard
entity evm_account_link
Link copied to clipboard
entity evm_erc20_balance
Link copied to clipboard
entity evm_erc20_withdraw
Link copied to clipboard
entity evm_erc721
Link copied to clipboard
entity evm_erc721_balance
Link copied to clipboard
entity evm_erc721_withdraw
Link copied to clipboard
struct module_args
Link copied to clipboard
entity nft_mapping
Link copied to clipboard
struct state_address_dto
Link copied to clipboard
struct state_data
Link copied to clipboard
entity token_mapping
Link copied to clipboard
object withdraw_stats
Functions
Link copied to clipboard
@extend(after_transfer) function after_transfer_eif(inputs: list<xfer_input>, outputs: list<xfer_output>)
Link copied to clipboard
function build_account_state(network_id: integer, beneficiary: byte_array, account: account?): list<gtv>
Link copied to clipboard
function deposit_ERC20(network_id: integer, beneficiary: byte_array, token_address: byte_array, amount: integer, name: text, symbol: text, decimals: integer)
Link copied to clipboard
function deposit_ERC721(network_id: integer, beneficiary: byte_array, token_address: byte_array, token_id: integer, name: text, symbol: text, uri: text)
Link copied to clipboard
function emit_withdraw(network_id: integer, beneficiary: byte_array, account: account?, eth_event_data: list<gtv>)
Link copied to clipboard
function evm_block_fn(network_id: integer, evm_block_height: integer, evm_block_hash: byte_array, events: list<event_data>)
Link copied to clipboard
Link copied to clipboard
function get_or_create_evm_account_link(network_id: integer, beneficiary: byte_array): evm_account_link
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Queries
Link copied to clipboard
query evm_balance_of_erc20(network_id: integer, token_address: byte_array, beneficiary: byte_array): integer
Link copied to clipboard
query evm_has_erc721(network_id: integer, token_address: byte_array, token_id: integer, beneficiary: byte_array): boolean
Link copied to clipboard
query get_erc20_withdrawal(network_id: integer, token_address: byte_array, beneficiary: byte_array): list<(serial: integer, network_id: integer, token: byte_array, beneficiary: byte_array, amount: integer)>?
Link copied to clipboard
query get_erc721_withdrawal(network_id: integer, token_address: byte_array, token_id: integer, beneficiary: byte_array): list<(serial: integer, network_id: integer, token: byte_array, beneficiary: byte_array)>?
Link copied to clipboard
query get_last_evm_block(network_id: integer): (evm_block_height: integer, evm_block_hash: byte_array)?
Link copied to clipboard
Operations
Link copied to clipboard
operation __evm_block(network_id: integer, evm_block_height: integer, evm_block_hash: byte_array, events: list<event_data>)
Link copied to clipboard
Link copied to clipboard
operation add_new_evm_erc20(network_id: integer, token_address: byte_array, name: text, symbol: text, decimals: integer)
Link copied to clipboard
operation add_new_token_mapping(network_id: integer, token_address: byte_array, asset_id: byte_array)
Link copied to clipboard
operation bridge_ft3_token_to_evm(auth_id: auth_id, network_id: integer, token_address: byte_array, beneficiary: byte_array, amount: integer)
Link copied to clipboard
operation bridge_non_fungible_original_to_evm(auth_id: auth_id, asset_id: byte_array, network_id: integer, token_address: byte_array, beneficiary: byte_array)
Link copied to clipboard
operation claim_ERC20(network_id: integer, token_address: byte_array, beneficiary: byte_array, amount: integer, r: byte_array, s: byte_array, v: integer, pk: text, account_id: byte_array)
Link copied to clipboard
operation claim_ERC721(network_id: integer, token_address: byte_array, beneficiary: byte_array, token_id: integer, r: byte_array, s: byte_array, v: integer, pk: text, account_id: byte_array)
Link copied to clipboard
operation deposit_ft3_token(auth_id: auth_id, network_id: integer, token_address: byte_array, beneficiary: byte_array, amount: integer)
Link copied to clipboard
operation deposit_non_fungible_original(auth_id: auth_id, asset_id: byte_array, network_id: integer, token_address: byte_array, beneficiary: byte_array)
Link copied to clipboard
operation evm_block_op(network_id: integer, evm_block_height: integer, evm_block_hash: byte_array, events: list<event_data>)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
operation withdraw_ERC20(network_id: integer, token_address: byte_array, beneficiary: byte_array, amount: integer, r: byte_array, s: byte_array, v: integer, pk: text)
Link copied to clipboard
operation withdraw_ERC721(network_id: integer, token_address: byte_array, beneficiary: byte_array, token_id: integer, r: byte_array, s: byte_array, v: integer, pk: text)